import pymongo as pymongo

from utils.config import get_config

MONGO_URI = get_config('MongoDB_DATABASE_URL')
MONGO_DB = get_config('MongoDB_DATABASE_DB')
mongo_client = pymongo.MongoClient(host=MONGO_URI, maxPoolSize=10, connectTimeoutMS=2000000)
mongo_db = mongo_client[MONGO_DB]
